////
/// 希望给我份工作
/// email 1585638808@qq.com
/// @author andypinet
/// @group vue-base/sass/button/state
////

/// button disabled 时候的样式设置
@mixin aui-button-partial-disabled-style() {
    border: 1px solid $aui-brand-gray;
    color: $aui-brand-gray;
    cursor: default;
    &:hover {
        background-color: transparent;     
        cursor: not-allowed;
    }
}

// 创建button样式
@mixin aui-button-mixin-button-style($border-color, $color: $aui-brand-dark) {     
    border: 1px solid $border-color;
    color: $color;
    &:hover {
        color: #ffffff;
        background-color: $border-color;
    }
    &:disabled {
        @include aui-button-partial-disabled-style();
    }
    &.disabled {
        @include aui-button-partial-disabled-style();
    }
}
